﻿/// <reference path="_namespace.js" />

/*****************************************************************************
Ajaxna library Interface definition.
Author: krobinson 10/8/2008 9:12:56 AM.
Class:  ajax.collections.IComparer
*****************************************************************************/

$addNamespace("ajax.collections");
//-----------------------------------------------------------------------------

ajax.collections.IComparer = function(){}; // ctor should be blank.
$extend("ajax.collections.IComparer", ""); // You may also inherit from another interface.
//-----------------------------------------------------------------------------

// Public members
//-----------------------------------------------------------------------------

// Public Methods
//-----------------------------------------------------------------------------
ajax.collections.IComparer.prototype.compare = function(x, y)
{///<summary>Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.</summary>
 ///<param name="x" type="Object">The first object to compare.</param>
 ///<param name="y" type="Object">The second object to compare.</param>
 ///<returns>Value Condition Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.</returns>
};

// Statics
//-----------------------------------------------------------------------------
ajax.collections.IComparer.cast = function(obj)
{///<returns type="ajax.collections.IComparer"/>
    return obj;
}